package org.jeecg.modules.hqbaoxiao.mapper;

import java.util.List;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.jeecg.common.system.vo.LoginUser;
import org.jeecg.modules.hqbaoxiao.entity.HqBaoxiao;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.jeecg.modules.system.model.TreeSelectModel;
import org.jeecg.modules.zhaojd.entity.HqZhaojd;

/**
 * @Description: 报销
 * @Author: jeecg-boot
 * @Date:   2020-07-07
 * @Version: V1.0
 */
public interface HqBaoxiaoMapper extends BaseMapper<HqBaoxiao> {
    IPage<HqBaoxiao> myApplyList(Page<HqBaoxiao> page, @Param("user") LoginUser user, @Param("hqBaoxiao") HqBaoxiao hqBaoxiao);

    IPage<HqBaoxiao> myTodoTasks(Page<HqBaoxiao> page, @Param("user")LoginUser user, @Param("hqBaoxiao") HqBaoxiao hqBaoxiao);

    IPage<HqBaoxiao> myDoneTasks(Page<HqBaoxiao> page, @Param("user")LoginUser user, @Param("hqBaoxiao") HqBaoxiao hqBaoxiao);

    List<TreeSelectModel> kemuListByPid(@Param("orgCode") String orgCode, @Param("pid") String pid);
}
